package com.zswlib.netease.webapp.rmi;

import com.zswlib.netease.webapp.po.Author;

import java.net.MalformedURLException;
import java.rmi.AlreadyBoundException;
import java.rmi.Naming;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * Author的RMI服务端
  * AuthorRMI.java, 2018/2/6. * * Copyright  Netease, Inc. All rights reserved. * NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  */
public interface AuthorRMI extends Remote{
    public Author getAuthor(String username, String password) throws RemoteException;
}